package cn.tedu.medicalappointmentsystemk.service;

import cn.tedu.medicalappointmentsystemk.pojo.bo.ScheduleSelectAllBO;
import cn.tedu.medicalappointmentsystemk.pojo.bo.ScheduleSelectBO;
import cn.tedu.medicalappointmentsystemk.pojo.param.ScheduleAddParam;
import cn.tedu.medicalappointmentsystemk.pojo.po.PageData;

import java.util.List;


public interface ScheduleService {

    void insert(ScheduleAddParam param);

    PageData<ScheduleSelectBO> selectByString(Integer pageNum , String[] dates);

    PageData<ScheduleSelectAllBO> selectAll(Integer pageNum);

    void deleteById(Long id);

    PageData<ScheduleSelectAllBO> searchLastMonth(Integer pageNum);

    PageData<ScheduleSelectAllBO> searchLastWeek(Integer pageNum);

    PageData<ScheduleSelectAllBO> searchToday(Integer pageNum);

    List<ScheduleSelectAllBO> selectByNickname(String nickname);
}
